<?

  header('content-type: text/html; charset=utf-8');

?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<?= $config['site.base'] ?>">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <link type="text/css" rel="stylesheet" href="themes/*ENAME*/default.css"/>
    <title><?= getDefault($config['pagetitle'], $config['site.name']) ?></title>
  </head>
  <body>
    <div id="background">
    </div>
    <div id="container">
      <div id="topmenu"><? 
        foreach ($config['menu'] as $item) { ?>
        <a href="<?= $item['url'] ?>"><b><?= $item['caption'] ?></b></a>
      <? } ?></div>
      <h1>
        <?= getDefault($config['pagetitle'], $config['site.name']) ?>
      </h1>
      <div id="content<? 
      if ($showTabNav == true)
        print('sub');
    ?>">
        <?= $content ?>
      </div>
    </div>
  </body>
</html><?


?>
